import json


def read_info(filename='data/login_data.json'):
    with open(filename, 'r', encoding='utf-8') as f:
        content = json.load(f)
        list1 = []
        for i in content:
            list1.append(tuple(i.values()))
        return list1


def get_url(key, filename='data/url_data.json'):
    with open(filename, 'r', encoding='utf-8') as f:
        content = json.load(f)
        return content[key]


if __name__ == '__main__':
    print(read_info())
